JC = javac
JCFLAGS= -encoding iso8859-1 -d bin

CLASSES = \
	tec/IEtatPassager.java\
	tec/IEtatPassagerTest.java\
	tec/EtatPassager.java\
	tec/EtatPassagerChaine.java\
	tec/EtatPassagerTest.java\
	tec/EtatPassagerChaineTest.java\
	tec/Jauge.java\
	tec/JaugeNaturel.java\
	tec/JaugeNaturelTest.java\
	tec/JaugeNegatif.java\
	tec/JaugeNegatifTest.java\
	tec/JaugeDistance.java\
	tec/JaugeDistanceTest.java\
	tec/JaugeReel.java\
	tec/JaugeReelTest.java\
	tec/JaugeFactory.java\
	tec/JaugeNaturelFactory.java\
	tec/JaugeNegatifFactory.java\
	tec/JaugeReelFactory.java\
	tec/JaugeDistanceFactory.java\
	tec/JaugeTest.java\
	tec/Transport.java\
	tec/Bus.java\
	tec/FauxPassager.java\
	tec/FauxBusVide.java\
	tec/FauxBusPlein.java\
	tec/FauxBusAssis.java\
	tec/FauxBusDebout.java\
	tec/Autobus.java\
	tec/Usager.java\
	tec/Passager.java\
	tec/CharacterePassager.java\
	tec/PassagerAbstrait.java\
	tec/PassagerStandard.java\
	tec/PassagerLunatique.java\
	tec/PassagerStresse.java\
	tec/AutobusTest.java\
	tec/PassagerTetu.java\
	tec/PassagerSportif.java\
	tec/PassagerRepos.java\
	tec/PassagerFatigue.java\
	tec/CharacterePassager.java\
	tec/PassagerNerveux.java\
	tec/PassagerCalme.java\
	tec/PassagerAgoraphobe.java\
	tec/PassagerPoli.java\
	tec/PassagerAbstraitTest.java\
	tec/PassagerStandardTest.java\
	tec/PassagerLunatiqueTest.java\
	tec/PassagerReposTest.java\
	tec/PassagerStresseTest.java\
	tec/PassagerFatigueTest.java\
	tec/PassagerSportifTest.java\
	tec/PassagerTetuTest.java\
	tec/CharacterePassagerTest.java\
	tec/PassagerCalmeTest.java\
	tec/PassagerNerveuxTest.java\
	tec/PassagerPrudentTest.java\
	tec/PassagerAgoraphobeTest.java\
	tec/PassagerPoliTest.java\
	tec/AutobusJournalise.java\
	tec/Barres.java\
	tec/MesFenetres.java\
	tec/AutobusJournaliseBarre.java\
        tec/AutobusJournaliseBarreTest.java\
        tec/AutobusJournaliseFichier.java\
        tec/AutobusJournaliseFichierTest.java\
	tec/AutobusJournaliseErreur.java\
	tec/AutobusJournaliseErreurTest.java\
	tec/Journalisation.java\
	tec/JournalisationFichier.java\
	tec/LancerTests.java\
	Simple.java

default: classes

classes: $(CLASSES:%.java=bin/%.class)

bin/%.class: %.java
	$(JC) $(<) $(JCFLAGS)

clean:	clean-tec
	$(RM) ./bin/*.class

clean-tec:
	$(RM) ./bin/tec/*.class
